import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;


public class E18_MapOrder {

	public static void main(String[] args) {
		Map<String,Integer> hashMap = new HashMap<String,Integer>();
		Map<String,Integer> linkedMap = new LinkedHashMap<String, Integer>();
		
		for(int i=10;i>0;i--){
			hashMap.put(i+"", i);
		}
		System.out.println(hashMap.keySet());
		
		for(int i=10;i>0;i--){
			linkedMap.put(i+"", i);
		}
		System.out.println(linkedMap.keySet());
		
		
	}
	
}
